import "./style/index.scss";
import ChatLauncher from "./components/ChatLauncher.vue";
import type { App } from "vue";

const components = [ChatLauncher];

export function install(app: App) {
  components.forEach((component) => {
    app.component(
      component.name ? component.name : Object.keys({ component })[0],
      component,
    );
  });
}

export default {
  install,
};

export { ChatLauncher };
